#include <stdio.h>
#include "GameActor.cpp"
class Command{
    public:
        virtual ~Command();
        virtual void execute(GameActor& actor) = 0;  //纯虚函数
        virtual void undo() = 0;
};

